#define front_layout()
<!DOCTYPE html>
<html lang="zh-cn">
	<head>
		<meta charset="utf-8">
	    <meta http-equiv="X-UA-Compatible" content="IE=edge">
	    <title>#(siteTitle)</title>
	    <meta name="description" content="666">
	    <meta name="author" content="何家明">
	    <meta name="viewport" content="initial-scale=1, maximum-scale=1">
	    <link rel="shortcut icon" href="#(ctx)/favicon.ico">
		
		<meta name="apple-mobile-web-app-capable" content="yes">
	    <meta name="apple-mobile-web-app-status-bar-style" content="black">
	    <meta name="format-detection" content="telephone=no">
		### 样式开始
	    <link rel="stylesheet" href="//g.alicdn.com/msui/sm/0.6.2/css/sm.min.css">
    	<link rel="stylesheet" href="//g.alicdn.com/msui/sm/0.6.2/css/sm-extend.min.css">
    	<link rel="stylesheet" href="#(ctx)/extends/layer_mobile/need/layer.css">
    	<link rel="stylesheet" href="#(ctx)/resources/css/front/base.css">
		#@css?()
		### 样式结束
		
		
		<script type="text/javascript" src="#(ctx)/extends/jquery.min-v1.11.3.js"></script>
		<script type="text/javascript" src="#(ctx)/extends/layer_mobile/layer.js"></script>
		<script>
			var ctx = '#(ctx)';
		</script>
	</head>
	<body>
		<!-- page集合的容器，里面放多个平行的.page，其他.page作为内联页面由路由控制展示 -->
		<div class="page-group">
			<!-- 单个page ,第一个.page默认被展示-->
	    	### 页面开始
			#@page()
			### 页面结束
		
		    <!-- 其他的单个page内联页（如果有） -->
		    ### <div class="page">...</div>
		</div>
		
		<!-- popup, panel 等放在这里 -->
		<div class="panel-overlay"></div>
		<!-- Left Panel with Reveal effect -->
		<div class="panel panel-left panel-reveal">
		    <div class="content-block">
		        <p>这是一个侧栏</p>
		        <p></p>
		        <!-- Click on link with "close-panel" class will close panel -->
		        <p><a href="#" class="close-panel">关闭</a></p>
		    </div>
		</div>
		
		### 脚本开始
		<script type="text/javascript" src="//g.alicdn.com/sj/lib/zepto/zepto.min.js" charset="utf-8"></script>
	    <script type="text/javascript" src="//g.alicdn.com/msui/sm/0.6.2/js/sm.min.js" charset="utf-8"></script>
	    <script type="text/javascript" src="//g.alicdn.com/msui/sm/0.6.2/js/sm-extend.min.js" charset="utf-8"></script>
		
		<script type="text/javascript" src="#(ctx)/extends/jquery.ext.js" charset="utf-8"></script>
		<script type="text/javascript" src="#(ctx)/extends/common.js" charset="utf-8"></script>
		#@js?()
		### 脚本结束
	</body>
</html>
#end